package com.zqxq.lottery.mapper.user;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.zqxq.lottery.entity.bo.user.UserMsgBO;
import com.zqxq.lottery.entity.po.user.UserMsgPO;
import com.zqxq.lottery.entity.vo.user.UserMsgVO;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Description ：
 * @Author ： 解风
 * @Date ： 2018/03/13 14:39
 */
@Component(value = "userMsgMapper")
public interface UserMsgMapper extends BaseMapper<UserMsgPO> {
    List<UserMsgVO> queryPage(Page page, UserMsgBO search);

    void updateStatus(UserMsgBO search);

    Integer queryUserMsgNew(String userId);
}
